TEMPLATE = app

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
ANDROID_PACKAGE = ru.dublgis.offscreenview
ANDROID_MINIMUM_VERSION = 15
ANDROID_TARGET_VERSION = 15
ANDROID_APP_NAME = QML WebView

QT += qml quick widgets androidextras opengl network sql

SOURCES += main.cpp \
    ./QtOffscreenViews/QAndroidOffscreenView.cpp \
    ./QtOffscreenViews/QAndroidOffscreenWebView.cpp \
    ./QtOffscreenViews/QOpenGLTextureHolder.cpp \
    ./QJniHelpers/QAndroidQPAPluginGap.cpp \
    ./QtOffscreenViews/QAndroidOffscreenEditText.cpp \
    ./QJniHelpers/QJniHelpers.cpp \
    ./QtOffscreenViews/QAndroidJniImagePair.cpp \
    ./QtOffscreenViews/QQuickViews/QQuickAndroidOffscreenView.cpp \
    ./QtOffscreenViews/QQuickViews/QQuickOffscreenEditText.cpp \
    ./QtOffscreenViews/QQuickViews/QQuickOffscreenWebView.cpp \
    ./QtOffscreenViews/QApplicationActivityObserver.cpp \
    databasecreator.cpp \
    dao/dao.cpp \
    dao/databaseexception.cpp \
    dao/genericlistmodel.cpp \
    dao/query.cpp \
    db/db.cpp \
    entity/entity.cpp \
    entity/aqfornecedor.cpp \
    services/service.cpp \
    synccontroller.cpp \
    services/genericservice.cpp \
    utils/utils.cpp \
    utils/webviewutils.cpp

HEADERS += \
    ./QtOffscreenViews/QAndroidOffscreenView.h \
    ./QtOffscreenViews/QAndroidOffscreenWebView.h \
    ./QtOffscreenViews/QOpenGLTextureHolder.h \
    ./QJniHelpers/QAndroidQPAPluginGap.h \
    ./QtOffscreenViews/QAndroidOffscreenEditText.h \
    ./QJniHelpers/QJniHelpers.h \
    ./QtOffscreenViews/QAndroidJniImagePair.h \
    ./QtOffscreenViews/QQuickViews/QQuickAndroidOffscreenView.h \
    ./QtOffscreenViews/QQuickViews/QQuickOffscreenEditText.h \
    ./QtOffscreenViews/QQuickViews/QQuickOffscreenWebView.h \
    ./QtOffscreenViews/QApplicationActivityObserver.h \
    databasecreator.h \
    dao/dao.h \
    dao/databaseexception.h \
    dao/genericlistmodel.h \
    dao/query.h \
    db/db.h \
    entity/entity.h \
    entity/aqfornecedor.h \
    dao/aqfornecedordao.h \
    services/service.h \
    synccontroller.h \
    services/genericservice.h \
    utils/utils.h \
    utils/webviewutils.h

OTHER_FILES += \
    android-sources/src/ru/dublgis/offscreenview/OffscreenView.java \
    android-sources/src/ru/dublgis/offscreenview/OffscreenWebView.java \
    android/AndroidManifest.xml \
    android/res/values/libs.xml \
    android/res/values/strings.xml \
    android/res/drawable-mdpi/icon.png \
    android/res/drawable-hdpi/icon.png \
    android/res/drawable-ldpi/icon.png \
    android/src/eu/licentia/necessitas/ministro/IMinistroCallback.aidl \
    android/src/eu/licentia/necessitas/ministro/IMinistro.aidl \
    android/src/eu/licentia/necessitas/industrius/QtApplication.java \
    android/src/eu/licentia/necessitas/industrius/QtActivity.java \
    android/src/eu/licentia/necessitas/industrius/QtSurface.java \
    android/src/eu/licentia/necessitas/industrius/QtLayout.java \
    android/src/eu/licentia/necessitas/mobile/QtLocation.java \
    android/src/eu/licentia/necessitas/mobile/QtFeedback.java \
    android/src/eu/licentia/necessitas/mobile/QtAndroidContacts.java \
    android/src/eu/licentia/necessitas/mobile/QtMediaPlayer.java \
    android/src/eu/licentia/necessitas/mobile/QtSystemInfo.java \
    android/src/eu/licentia/necessitas/mobile/QtCamera.java \
    android/src/eu/licentia/necessitas/mobile/QtSensors.java \
    javascript/utils.js \
    android-sources/AndroidManifest.xml

RESOURCES += \
    resources.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

LIBS += -ljnigraphics

INCLUDEPATH += ./QJniHelpers ./QtOffscreenViews

# Default rules for deployment.
include(deployment.pri)
